package cn.hs.entity;

import java.io.Serializable;
import java.util.List;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @TableName consult
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Consult implements Serializable {
    private Integer id;

    private String name;

    private String sex;

    private Integer levelId;

    private String img;

    private String address;

    private String intro;

    private Integer authentication;

    private String book;

    private static final long serialVersionUID = 1L;

    public Consult(String name) {
        this.name = name;
    }



    private Consultlevel consultlevel;
    private List<Specialty> specialties;



}